Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Index Load Long #39

Merged
merged 1 commit into from
Jun 25, 2024
Merged

Add Index Load Long #39

merged 1 commit into from
Jun 25, 2024

Conversation

craigthomas
Copy link
Owner

This PR adds the load long instruction for the index register. Given that the new load command consumes another 16-bit value from memory, all skip instructions where modified to check for a load long instruction so that they would be incremented by 4 bytes instead of 2. Unit tests updated and added to catch new condition. This PR closes #23

Copy link

codecov bot commented Jun 25, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 91.30%. Comparing base (1da3918) to head (8fd9816).
Report is 5 commits behind head on main.

Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff             @@
##             main      #39      +/-   ##
==========================================
+ Coverage   90.27%   91.30%   +1.02%     
==========================================
  Files           4        4              
  Lines         473      529      +56     
==========================================
+ Hits          427      483      +56     
  Misses         46       46              
Files Coverage Δ
chip8/cpu.py 97.67% <100.00%> (+0.34%) ⬆️

Continue to review full report in Codecov by Sentry.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 87c41a7...8fd9816. Read the comment docs.

@craigthomas craigthomas merged commit bed04f1 into main Jun 25, 2024
3 checks passed
@craigthomas craigthomas deleted the index-load-long branch July 1, 2024 14:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Index Load Long
1 participant